home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Environments / Clean 1.2.4 / Clean Help / Clean Help.rsrc / STR#_10013.txt < prev    next >
Encoding:
Text File  |  1997-06-20  |  1.8 KB  |  77 lines

  1. 
  2.  
  3. xThe Code Generator / Linker
  4.  
  5. 
  6.  
  7. The Code Generator takes sequential ABC-code as input (an .abc file) and
  8.  
  9. produces an object file (a .obj file) in the Clean System Files folder. The
  10.  
  11. linker links all .obj files of the project together and builds a Mac
  12.  
  13. application.
  14.  
  15. 
  16.  
  17. 
  18.  
  19. By default, the Code Generator generates code for the machine that you
  20.  
  21. are working on (Current Processor). If you want to generate code for
  22.  
  23. another machine, check one of the other options. One has to decide on
  24.  
  25. which class of machines the applications should run (68000/Mac+ or
  26.  
  27. higher, 68020 or higher). The 68020 option will produce much better
  28.  
  29. code, but the application will not run on a Mac+. See Code Generator‚Ķ in
  30.  
  31. the Options menu.
  32.  
  33. 
  34.  
  35. If you are not certain about the space consumption of your application
  36.  
  37. generate code to perform boundary checks. This will slow down the speed
  38.  
  39. of the application.
  40.  
  41. 
  42.  
  43. Heap and stack space must be allocated to the application. Also other
  44.  
  45. options can be set (see Application‚Ķ in the Options menu). This setting can
  46.  
  47. take place before or after the application is created. The current project
  48.  
  49. name (see Execute in the Commands menu) determines of which
  50.  
  51. application the options will be set. On demand, the Code Generator can
  52.  
  53. produce assembly files. To produce the assembly code choose Generate
  54.  
  55. Assembly in the Commands menu.
  56.  
  57. 
  58.  
  59. The linking phase requires a lot of memory, especially when the I/O
  60.  
  61. libraries have to be linked with a project. When the linker cannot allocate
  62.  
  63. the memory it needs inside the Clean 1.2 application it tries to allocate
  64.  
  65. free memory outside the application. On a Mac with little free memory
  66.  
  67. outside the Clean 1.2 application the linker therefore might get out of
  68.  
  69. memory. Closing windows and quitting other applications might help.
  70.  
  71. 
  72.  
  73. 
  74.  
  75. 
  76.  
  77.